package com.ruoyi.web.controller.material.service;

import com.ruoyi.web.controller.material.entity.request.warehouseAddRequest;
import com.ruoyi.web.controller.material.entity.request.warehousePageRequest;
import com.ruoyi.web.controller.material.entity.ylWarehouse;

import java.util.List;

/**
 * 仓库管理Service业务层处理
 *
 * @author jzx
 * @date 2025年10月21日16:01:44
 */
public interface WarehouseService {
    /**
     * 列表查询
     *
     * @param warehousePageRequest
     * @return
     */
    List<ylWarehouse> getPage(warehousePageRequest warehousePageRequest);

    /**
     * 删除
     *
     * @param id
     */
    void delete(Long[] id);

    /**
     * 查询明细
     *
     * @param id
     */
    ylWarehouse selectById(Long id);

    /**
     * 新增仓库
     *
     * @param warehouseAddRequest
     */
    void add(warehouseAddRequest warehouseAddRequest);

    /**
     * 修改仓库
     *
     * @param warehouseUpdateRequest
     */
    void update(warehouseAddRequest warehouseUpdateRequest);
}
